package org.example.bean;

import org.example.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * Description: ComsumerComponet
 * Author: e
 * CreateDate: 2021-05-19
 */
@Component
public class ComsumerComponet {

    @Reference
    private HelloService helloService;

    public String  sayHello1(String name){
        return  helloService.sayHello1(name);
    }

    public String  sayHello2(String name){
        return  helloService.sayHello2(name);
    }

    public String  sayHello3(String name){
        return  helloService.sayHello3(name);
    }

}
